﻿using Pe.Petecos.Comercial.Infraestructura.Core.Base;
using Pe.Petecos.Comercial.Infraestructura.Core.Context;
using Pe.Petecos.Comercial.Infraestructura.Model.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;

namespace Pe.Petecos.Comercial.Infraestructura.Repository.Base
{
    public class QueryRepository : IQueryRepository
    {
        public IDbContextProvider dataBaseProvider { get; set; }

        public void Dispose()
        {
            if (this.dataBaseProvider != null)
            {
                this.dataBaseProvider.Dispose();
            }
        }
    }
}
